Published: 2004-09-15
- Customers running Content Studio PDF server under Content Studio ver. 4.0 or later
Type: How to
More information
- Content Studio PDF server runs successfully on Microsoft Server 2003 (Standard, Enterprise and Web Editions), Windows 2000 Server (Standard or Advanced), Windows 2000 Professional, Windows XP Professional. The product cannot be run on Windows XP Home Edition, Windows NT, Windows 98 or earlier operating system. (Servicepack 1 on Windows Server 2003 requires service servicepack 7 of the Active PDF Server and Active PDF WebGrabber). This version is not compatible with the version 1.0 of the CSPDFWorker.dll that is one of the core components of Content Studio PDF Server. For details see the article PDF server might stop working after installing SP 1 on Windows 2003 Server . Also there are some problems with Active PDF Server when it tries to build the static printer pool. We have found that starting by installing Sp 6 of the Active PDF Server and WebGrabber, configure the installation and then upgrade to Sp 7 works best.
- You must install the IIS (Internet information services) web server before installing Content Studio PDF Server. IIS is a part of the operation system mentioned above but does need to be running. The installation program will not continue if it detects that IIS is not installed.
- Install Active PDF Server Sp 6 and Active PDF WebGrabber Sp 6 and register the products according to the instructions for these products.
- Configure Active PDF server in its configuration dialog. Make sure that a valid post script printer is selected or use the activePDF postscript printer.
- Configure Active PDF to use a static printer pool (this can be a problem with Sp 7). Content studio PDF server requires at least the value 2 as both the Static pool size and as the Reserved pool size. Rebuild the printer pool before exiting the configuration dialog.
- If you installer Sp 6 of Active PDF Server and WebGrabber you can upgrade to Sp 7 now.
- Configure the Active PDF webGrabber Internet Explorer runtime account in the WGIELogin dialog. Use the credentials of the CSPDFReader created previously.
- Log on locally or via Remote Desktop on the server using the CSPDFReader account. If this account does not have permission to log on to the server you must assign administrative privileges to CSPDFReader. Make sure that this account has a valid internet access (i.e. proxy settings and security zones settings) before logging off. Also, on Server 2003 you must disable enhanced security configuration or make sure that the security warning dialog is turned off. Also set the Disable script debugging option in the Internet Explorer advanced settings. Any modal dialog that appears in Internet Explorer for this user must be suppressed ex. the dialog that a warning that you are going to submit data to the Internet. The latter dialog can be suppressed the first time it is displayed.
- A special problem occurs if the site or the source file is protected from anonymous
access. If the site uses integrated security and is located in your network domain
you must ensure that this url i registered in the Local Intranet zone for CSPDFReader.
This is not needed if the url does not contain dots ex. (http://myserver/intranet).
If the site is configured outside your domain or integrated security is turned off
and single signon cannot be performed this will not work. Currently there is no
support for this scenario in Content Studio PDF server. Therefore the best option
is to ensure that the site is configured for Anonymous Access and that anonymous
accounts can browse the web site. As a last resort you could create a login on the
web server with the same name and password as the CSPDFReader account.
- Now is the time to test the Active PDF WebGrabber by running the VBS script "TestWebGrabber.vbs"
found in the Tools directory on the CD. This script should generate a PDF of the
start page of the Content Studio web. If your company policy prevents users from
accessing the public internet please edit this script by changing the URL to
a local html file or a ex. the start page of your local intranet. If this script
fails it is likely that the CSPDFReader account is not correctly configured. Please
review the 2 steps above and make sure the stored password is correct.
- Install the PDF Server by running its installation program and follow the instructions on the screen.
Start the Content Studio PDF Service Manager (CSPDFMan.exe) that was installed by the installation program. This application will help you generate all the registry setting values needed. This utility can be used to register the license key obtained from Teknikhuset AB. Without a license Content Studio PDF Service will run but will not generate any PDF:s.
Now it is time to control that the PDF server machine has access to the web servers it should serve. You can do this by running the CSPDFTester.exe utility installed by the installation program. This utility allows you to select the web server and the web site that should be served by the PDF server. It is necessary that DCOM works between the two servers and that the CSPDFService account is allowed to make the calls needed. This tool will access the PDF-queue on the web server and generate a PDF if a request was found.
- Start the service "Content Studio PDF service", preferably by using the Content Studio PDF Server Manager. While at it, make sure that the Active PDF Writer and Active PDF WebGrabber services also are running properly and these services can be controlled through the Content Studio PDF Server Manager as well. Take a look in the Event viewer's Application log which will log all critical events from the service and some informational messages as well.
Configuring the Content Studio web site
- Create a new category of the file type where you would like the generated PDFs to be created. Ensure that all users that should be able to generate PDF documents has the CREATE permission on the PDF-queue and CREATE on this destination category in order to succeed. Normally all verified users have the CREATE permission on the PDF queue.
- Enable the category for PDF. You do that on the category in question in the properties dialog for that category. Open up the PDF dialog and set the settings you would like to use, you must have WRITECONTAINER permission on the category in order to set these properties. Also ensure that all users that should be able to create PDF documents must have READ and WRITE permission on the document that act as source of the PDF. Note that if you have chosen to generate for sub documents also these permissions are checked on the root document only.
- Make sure that the CSPDFServer account has CREATE/WRITE permission on the PDF destination category.
- Lastly you must check that the CSPDFReader account must have BROWSE permission on each one of the document that acts as source of the generated PDFs. Normally you just set this permission on the category level and let the permission inherit down to each document.
Content Studio PDF Server generates its PDF:s by letting the CSPDFReader browse to the documents and by using Internet Explorer's print engine these pages are transformed into PDF documents that are uploaded to Content Studio. You can modify the looks of these PDF documents by modifying the printer settings of the CSOSDReader account on the PDF server. In order to do this you must either log on to the server with this account or use the Run As option. Also a number of parameters are also available on the source category and can be modified by a category administrator or (if permitted by the administrator) by the generating user.